widget-factory: Make the entry progress variable too
authorMatthias Clasen <mclasen@redhat.com>
Sat, 28 Jun 2014 19:23:29 +0000 (15:23 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 28 Jun 2014 19:23:29 +0000 (15:23 -0400)
Make the scale that currently controls the speed of the progressbar
control the progress speed in the entry as well.

demos/widget-factory/widget-factory.c

index 09b3a093734b72cf7135b93cd1aebb48b31a6d8b..ff0c3dc42b6f043da18d3e4b78e8cfb769fb56f8 100644 (file)
@@ -182,7 +182,7 @@ pulse_entry (GtkEntry *entry)
 {
   gtk_entry_progress_pulse (entry);
 
-  pulse_entry_id = g_timeout_add (100, (GSourceFunc)pulse_entry, entry);
+  pulse_entry_id = g_timeout_add (pulse_time, (GSourceFunc)pulse_entry, entry);
 
   return G_SOURCE_REMOVE;
 }